<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>Add Tag</title>
</head>
<body>
<h1>Add Tag</h1>
<form th:action="@{/tags/add}" th:object="${tag}" method="post">
  <label>Type:</label>
  <input type="text" th:field="*{tagType}" required>
  <label>Name:</label>
  <input type="text" th:field="*{tagName}" required>
  <input type="submit" value="Add">
</form>
</body>
</html>